import axios from '@/api';

// 微应用路由添加路由
export const microAppRouterAdd = data => {
  return axios.post('api/microAppRouter/add', data);
};
// 微应用路由删除路由
export const microAppRouterDelete = data => {
  return axios.post('api/microAppRouter/delete', data);
};
// 微应用路由修改路由
export const microAppRouterEdit = data => {
  return axios.post('api/microAppRouter/edit', data);
};
// 微应用路由列表
export const microAppRouterList = data => {
  return axios.post('api/microAppRouter/list', data);
};
// 微应用路由详情
export const microAppRouterDetail = data => {
  return axios.post('api/microAppRouter/detail', data);
};

// 添加微应用
export const microAppAdd = data => {
  return axios.post('api/microApp/add', data);
};
// 添加微应用
export const microAppEdit = data => {
  return axios.post('api/microApp/edit', data);
};
// 添加微应用
export const microAppDel = data => {
  return axios.post('api/microApp/del', data);
};
// 微应用列表
export const microAppList = data => {
  return axios.post('api/microApp/list', data);
};
